package com.example.firstjavamqtt.model.log;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.firstjavamqtt.model.base.BaseLog;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@ApiModel("设备日志")
@EqualsAndHashCode(callSuper = true)
@TableName("device_log")
@Data
@ToString
public class DeviceLog extends BaseLog {

    //操作对象
    @TableField("operation")
    private String operation;
    //设备类型
    @TableField("device_type")
    private String deviceType;

}
